* {
    box-sizing: border-box;
    margin: 0;
}

:root {
    --color-principal: hsl(0, 0%, 100%);
    --color-textos: hsl(0, 0%, 20%);
    --color-fondo: hsl(51, 100%, 97%);
    --color-contraste: hsl(134, 51%, 75%);
    --espacio-medio: 1rem;
    --color-2: rgb(222, 255, 233);
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    color: var(--color-textos);
    background-color: var(--color-2);

    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem;
}

p,
li {
    max-width: 65ch;
    line-height: 1.7;
}

p {
    margin-block: var(--espacio-medio);
}

h1,
h2,
h3,
h4 {
    font-family: 'Poppins', sans-serif;
    color: rgb(0, 118, 31);
}

h1 {
    margin-right: auto;
}

img {
    max-width: 100%;
    height: auto;
}

header {
    background-color: var(--color-contraste);

    width: 100%;
    padding: 1rem 1.2rem;
    margin-bottom: 3rem;

    display: flex;
    justify-content: space-between;
    align-items: center;

    border-radius: 20px;

    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.117);
}

header img {
    width: 80px;
    height: auto;
}

header nav {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

header nav a {
    padding: 10px 18px;

    border-radius: 8px;

    text-decoration: none;
    font-weight: bold;

    color: rgb(0, 101, 30);

    transition: 0.3s;
}

header nav a:hover {
    background-color: hsl(120, 100%, 10%);
    color: white;
}

section {
    margin: 50px 0;
    padding: 30px;

    background-color: var(--color-principal);

    border-radius: 20px;

    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.117);
}

.equipo-links ul {
    list-style: none;

    display: flex;
    flex-wrap: wrap;
    gap: 20px;

    justify-content: flex-start;

    padding: 0;
    margin-top: 25px;
}

.equipo-links a {
    display: inline-block;

    padding: 12px 20px;

    background-color: var(--color-2);

    border-radius: 10px;

    text-decoration: none;

    color: rgb(15, 99, 57);
    font-weight: bold;

    transition: 0.3s;

    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.equipo-links a:hover {
    background-color: hsl(147, 100%, 10%);
    color: white;

    transform: translateY(-2px);
}

.mvpypersona {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;

    align-items: flex-start;
}

.mvpypersona img {
    width: 100%;
    height: auto;

    padding-bottom: 50px;
}


footer {
    background-color: var(--color-contraste);

    margin: 50px 0;
    padding: 2rem;

    color: rgb(5, 5, 5);

    width: 100%;

    border-radius: 20px;

    display: flex;
    flex-direction: column;

    justify-content: flex-start;
    align-items: flex-start;

    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.117);
}

footer p {
    margin: 0;
}

@media (max-width: 768px) {

    body {
        padding: 0.75rem;
    }

    header {
        flex-direction: column;
        gap: 1rem;
    }

    header nav {
        justify-content: center;
    }

    section {
        padding: 20px;
    }

    .equipo-links ul {
        flex-direction: column;
    }

    .equipo-links a {
        width: 100%;
        text-align: center;
    }
}